Columns Numbers in ListView

How can I get the number of the columns in the DBE ListView? Or How can I delete all columns in the DBE ListView?

Thanks for the info.
SystemAdmin - Tue Mar 23 10:31:00 EDT 2010

Re: Columns Numbers in ListView
Mathias Mamsch - Tue Mar 23 18:21:28 EDT 2010

I am pretty sure, you cannot delete the columns of a listview. But: You can get the number of columns in a listview using tricks. You could "hook" the insertColumn function (see previous post) to store the number of columns or the titles or stuff like that.
Another trick I used once was to store the value of a column, set the contents of the column to a dummy value and then compare the contents of the column to the dummy value. If the column exists the value will have been set. If the column does not exist, then the value will not have been set. Afterwards restore the old value. If you try this for column 1,2,3,... you will find one where the value could not been set. This is your column count. Regards, Mathias